<template>
  <div class="q-pa-md" style="max-width: 300px">
    <div class="q-gutter-md">
      <t-badge color="secondary" multi-line> Model: "{{ model }}" </t-badge>

      <t-select
        filled
        v-model="model"
        :options="options"
        label="Standard"
        emit-value
      />
    </div>
  </div>
</template>

<script>
  import { ref } from 'vue';

  export default {
    setup() {
      return {
        model: ref(null),

        options: [
          {
            label: 'Google',
            value: 'goog',
            description: 'Search engine',
            icon: 'mail',
          },
          {
            label: 'Facebook',
            value: 'fb',
            description: 'Social media',
            icon: 'bluetooth',
          },
          {
            label: 'Twitter',
            value: 'twt',
            description: 'Quick updates',
            icon: 'map',
          },
          {
            label: 'Apple',
            value: 'app',
            description: 'iStuff',
            icon: 'golf_course',
          },
          {
            label: 'Oracle',
            value: 'ora',
            disable: true,
            description: 'Databases',
            icon: 'casino',
          },
        ],
      };
    },
  };
</script>
